import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.yunxin.admin.system.infra.persistence.entity.SysUserMerchantDO;
import com.yunxin.admin.system.infra.persistence.mapper.SysUserMerchantMapper;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.*;

public class testExprot {

    public static void main(String[] args) {
        Date nowDate=new Date();
        Date lateDate=new Date(nowDate.getTime()+1000*60*60*48);
        System.out.println(lateDate);
        //System.out.println("当前时间"+new Date(1716879654*1000));
//        String str = "13658213124";
//        String targetPhone = str.substring(0, 3) + "****" + str.substring(7);
//        System.out.println(targetPhone);

//        Calendar calendar = Calendar.getInstance();
//        // 将时、分、秒和毫秒字段设置为0
//        calendar.set(Calendar.HOUR_OF_DAY, 0);
//        calendar.set(Calendar.MINUTE, 0);
//        calendar.set(Calendar.SECOND, 0);
//        calendar.set(Calendar.MILLISECOND, 0);
//
//        // 输出结果
//        System.out.println(calendar.getTime());

//        UserBuryingPointDetail userBuryingPointDetail= new UserBuryingPointDetail();
//        userBuryingPointDetail.setId(111L);
//        userBuryingPointDetail.setBeBorrowMoney(5);
//        userBuryingPointDetail.setBeForm(6);
//        userBuryingPointDetail.setCreateTime(new Date());
//        AddBuryingPointDetail addBuryingPointDetail = new AddBuryingPointDetail();
//        addBuryingPointDetail.setIp("1231564");
//        BeanUtils.copyProperties(addBuryingPointDetail,userBuryingPointDetail,"beBorrowMoney","beForm","preconditionClickCount","productClickCount","productStayTime");
//        System.out.println(userBuryingPointDetail);

//        BigDecimal del=new BigDecimal("20");
//        BigDecimal divide = BigDecimal.ZERO.divide(del, 2, RoundingMode.HALF_UP);
//        System.out.println(divide);

//        String jsonArray = "[\"13800000001\", \"13000000002\"]";
//        List<String> parsedList = JSON.parseArray(jsonArray, String.class);
//        System.out.println(parsedList);

        //System.out.println(UUID.randomUUID().toString().replace("-",""));
//        Map<Long,List<Long>> userRoleMap=new HashMap<>();
//        List<Long> roleIdList = userRoleMap.getOrDefault(1L,new ArrayList<>());
//        roleIdList.add(3L);
//        System.out.println(userRoleMap);
    }







}
